package com.vkserver.server;

import com.vkserver.services.utils.Question;
import com.vkserver.services.utils.QuestionResource;
import org.restlet.resource.Get;
import org.restlet.resource.ServerResource;

/**
 *@author roman.prudkogliad@gmail.com
 */
public class QuestionActionResources extends ServerResource implements QuestionResource{
    @Get
    public Question insertQuestion(long userId, String text) {
        return new Question(123123, "че делать то");
    }

    public void store(Question question) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    public void remove() {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
